package com.example.yk.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.yk.R
import com.example.yk.entity.GroupEntity

class GroupChildAdapter(list: MutableList<GroupEntity>):BaseQuickAdapter<GroupEntity,BaseViewHolder>(R.layout.item_group_child,list) {
    override fun convert(holder: BaseViewHolder, item: GroupEntity) {
        holder.setText(R.id.group_tv,item.name)
    }
}